using System;
using System.Runtime.Serialization;
namespace Net35.Xrm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed class InsertOptionValueRequest : OrganizationRequest
	{
		public string OptionSetName
		{
			get
			{
				if (base.Parameters.Contains("OptionSetName"))
				{
					return (string)base.Parameters["OptionSetName"];
				}
				return null;
			}
			set
			{
				base.Parameters["OptionSetName"] = value;
			}
		}
		public string AttributeLogicalName
		{
			get
			{
				if (base.Parameters.Contains("AttributeLogicalName"))
				{
					return (string)base.Parameters["AttributeLogicalName"];
				}
				return null;
			}
			set
			{
				base.Parameters["AttributeLogicalName"] = value;
			}
		}
		public string EntityLogicalName
		{
			get
			{
				if (base.Parameters.Contains("EntityLogicalName"))
				{
					return (string)base.Parameters["EntityLogicalName"];
				}
				return null;
			}
			set
			{
				base.Parameters["EntityLogicalName"] = value;
			}
		}
		public int? Value
		{
			get
			{
				if (base.Parameters.Contains("Value"))
				{
					return (int?)base.Parameters["Value"];
				}
				return null;
			}
			set
			{
				base.Parameters["Value"] = value;
			}
		}
		public Label Label
		{
			get
			{
				if (base.Parameters.Contains("Label"))
				{
					return (Label)base.Parameters["Label"];
				}
				return null;
			}
			set
			{
				base.Parameters["Label"] = value;
			}
		}
		public Label Description
		{
			get
			{
				if (base.Parameters.Contains("Description"))
				{
					return (Label)base.Parameters["Description"];
				}
				return null;
			}
			set
			{
				base.Parameters["Description"] = value;
			}
		}
		public string SolutionUniqueName
		{
			get
			{
				if (base.Parameters.Contains("SolutionUniqueName"))
				{
					return (string)base.Parameters["SolutionUniqueName"];
				}
				return null;
			}
			set
			{
				base.Parameters["SolutionUniqueName"] = value;
			}
		}
		public InsertOptionValueRequest()
		{
			base.RequestName = "InsertOptionValue";
			this.Label = null;
		}
	}
}
